Module isotope::utils[][src]

Expand description

Utilities

Structs

StringSet

A simple immutable set of strings for use with variants

Enums

L4

IEEE 1364 standard 4-valued logic

Constants

EVEN_MASK_U8

All even bits in a u8

ODD_MASK_U8

All odd bits in a u8

Traits

BorrowOpt

Borrow an optional value of a given type

Functions

n_ones

Get an integer composed of min(BITS, n) ones followed by BITS - min(BITS, n) zeros, where N is an integer type with BITS bits.

n_ones_const_u32

Get an integer composed of min(BITS, n) ones followed by BITS - min(BITS, n) zeros, where N is an integer type with BITS bits.